import { FC } from "react";

interface PropertyItemProps {
  label: string;
  value: string;
}

const PropertyItem: FC<PropertyItemProps> = ({ label, value }) => {
  return (
    <dl className="rpv-properties__item">
      <dt className="rpv-properties__item-label">{label}:</dt>
      <dd className="rpv-properties__item-value">{value || "-"}</dd>
    </dl>
  );
};

export default PropertyItem;
